/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.QuyDinhDoanTau_DAO;
import DTO.QuyDinhDoanTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class QuyDinhDoanTau_BUS {
    
      
    public static String Get_MaQD() throws SQLException{
        return QuyDinhDoanTau_DAO.Get_MaQD();
    }
    public static ArrayList<QuyDinhDoanTau_DTO> GetALL(){
        return QuyDinhDoanTau_DAO.GetALL();
    }
    public static boolean Insert(QuyDinhDoanTau_DTO QDDoanTau){
        return QuyDinhDoanTau_DAO.Insert(QDDoanTau);
    }
    public static boolean Update(QuyDinhDoanTau_DTO QDDoanTau){
        return QuyDinhDoanTau_DAO.Update(QDDoanTau);
    }   
    public static boolean Delete(String MaQD){
        return QuyDinhDoanTau_DAO.Delete(MaQD);
    }
}
